<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>编辑用户</title>
  </head>
  <body>
	<div class="pageContent">
		<form method="post" action="<%=path %>/config/saveConfig.action" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
			<div class="pageFormContent" layoutH="56">
				<p style="width:96%;">
					<label>配置类型：</label>
					<select name="configVO.code" >
                        <option value="">选择配置类型</option>
                        <c:forEach var="item" items="${configTypes}">
                        	<option value="${item.name}" ${configVO.code eq item.name?"selected":"" }>${item.title}</option>
                        </c:forEach>
                   </select>
				</p>
				<!--
				<p>
					<label>名称：</label>
					<input name="configVO.name" value="<s:property value="configVO.name" />" class="required" type="text" size="30" alt="请输入名称"/>
				</p>
				  -->
				<p style="width:96%;margin-top:10px;">
					<label>内容：</label>
					<div class="unit">
						<textarea class="editor" name="configVO.content" rows="10" cols="100" id="contentID" til="请编写内容！"></textarea>
					</div>
				</p>
				<!-- 
				<p>
					<label>添加时间：</label>
					<input name="configVO.addtime" value="<s:property value="configVO.addtime" />" class="required" type="text" size="30" alt="请输入添加时间"/>
				</p>
				<p>
					<label>状态：</label>
					<input name="configVO.status" value="<s:property value="configVO.status" />" class="required" type="text" size="30" alt="请输入状态"/>
				</p>
				 -->
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
					<li>
						<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
					</li>
				</ul>
			</div>
		</form>
	</div>
  </body>
</html>